package com.cssl.mapper;

import com.cssl.domain.CategorySellAmts;
import com.cssl.domain.DayStatis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StatMapper {
    /**
     * 统计近多少天之内的用户增长量
     * @param daysAgo
     * @return
     */
    List<DayStatis> statisIncreaseUserCnt(@Param("daysAgo") int daysAgo);

    List<DayStatis> statisIncreaseOrderCnt(@Param("daysAgo") int daysAgo);
     List<CategorySellAmts> categorySell();
}
